import 'package:flutter/material.dart';
import 'package:lite_message/util/app_util.dart';
import 'package:lite_message/widgets/lm_button.dart';

///语言选择按钮
class LangBtn extends StatelessWidget {
  const LangBtn({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return SizedBox(
      width: 160.px,
      height: 160.px,
      child: LmButton(
        radius: 100,
        color: Theme.of(context).bottomAppBarColor,
        onPressed: () {
          LM.log('选择语言');
        },
        text: 'L',
        style: TextStyle(
          color: Theme.of(context).accentColor.withOpacity(0.6),
          fontWeight: FontWeight.bold,
          fontSize: 60.sp,
        ),
      ),
    );
  }
}
